package com.extendsDemo.Demo02;

/*
要写注释哦!!!
*/
public class Consultant extends Person {
    private String peisoncount;

    public String getPeisoncount() {
        return peisoncount;
    }

    public void setPeisoncount(String peisoncount) {
        this.peisoncount = peisoncount;
    }

    public void printInfo() {
        System.out.println(getName() + "接待咨询的数量为：" + peisoncount);
    }
}
